﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using Dtos;

namespace IBLL
{
    public interface IStudentBll
    {
        Task<int> AddAsync(string name, DateTime birthday, string gender, string tel, string email, string qqNumber, string address, Guid gradesId, string pwd, string photo);
        Task<int> EditAsync(Guid id, string name, DateTime birthday, string gender, string tel, string email, string qqNumber, string address, Guid gradesId, string pwd, string photo);
        Task<int> DeleteAsync(Guid id);
        Task<List<StudentDtos>> getAllStudent();
        Task<List<StudentDtos>> GetStudentByNameAsync(string title);
        Task<StudentDtos> GetStudentIdAsync(Guid id);
        Task<bool> IsExistsAsync(string title);
        Task<StudentDtos> SignInAsync(string ac, string pwd);
    }
}
